<template>
  <div>
    <div>{{$route.params.name}}</div>
    <div>{{name}}</div>
  </div>
</template>

<script>
export default {
  name: "Argu",
  props: {
    name: {
      type: String,
      default: "argu",
    },
  },
  beforeUpdate() {
    console.log("我被复用啦");
  },
};
</script>

<style>
</style>